/**
* @filename:SysUser 2023-10-22 00:33:19
* @project xxx系统  1.0
* Copyright(c) 2020 fangdy Co. Ltd.
* All right reserved.
*/
package org.fdy.bgadmin.entity;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
* @Description:(sys_user实体类)
*
* @version: 1.0
* @author: fangdy
*
*/
@Data
@TableName("sys_user")
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "ID")
    private Long id;

    @ApiModelProperty(name = "deptId" , value = "部门名称")
    private Long deptId;

    @ApiModelProperty(name = "username" , value = "用户名")
    private String username;

    @ApiModelProperty(name = "nickName" , value = "昵称")
    private String nickName;

    @ApiModelProperty(name = "gender" , value = "性别")
    private String gender;

    @ApiModelProperty(name = "phone" , value = "手机号码")
    private String phone;

    @ApiModelProperty(name = "email" , value = "邮箱")
    private String email;

    @ApiModelProperty(name = "avatarName" , value = "头像地址")
    private String avatarName;

    @ApiModelProperty(name = "avatarPath" , value = "头像真实路径")
    private String avatarPath;

    @ApiModelProperty(name = "password" , value = "密码")
    private String password;

    @ApiModelProperty(name = "isAdmin" , value = "是否为admin账号")
    private Boolean isAdmin;

    @ApiModelProperty(name = "enabled" , value = "状态：1启用、0禁用")
    private Boolean enabled;

    @ApiModelProperty(name = "createId" , value = "创建者")
    private String createId;

    @ApiModelProperty(name = "updateId" , value = "更新者")
    private String updateId;

    @ApiModelProperty(name = "pwdResetTime" , value = "修改密码的时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime pwdResetTime;

    @ApiModelProperty(name = "createTime" , value = "创建日期")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(name = "updateTime" , value = "更新时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;

}
